﻿@model ChinaCircleJerk.Models.ReplyVm
@{
    ViewBag.Title = "CreateReply";
}

<h2>Add reply</h2>

@using (Html.BeginForm())
{
    @Html.HiddenFor(model => model.PostId);
    <div class="form-horizontal">
        <div class="form-group">
            @Html.LabelFor(model => model.Body, htmlAttributes: new { @class = "control-label col-md-2" })
            <div class="col-md-10">
                @Html.TextAreaFor(model => model.Body, new { htmlAttributes = new { @class = "form-control" } })
            </div>
        </div>
        <br />
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" value="Create" class="btn btn-primary" />
            </div>
        </div>
    </div>
}

<div>
    @Html.ActionLink("Back to Home", "Index", "Home")
</div>

